feat: add community marketplaces and improve schema flexibility#17
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add two new community marketplace sources to expand plugin ecosystem:
- claude-code-workflows (wshobson/agents): 62 plugins, 84 agents, 42 tools
- claude-code-templates (davila7/claude-code-templates): ready-to-use templates
Improve marketplace schema to support multiple JSON formats:
- Accept both root-level and metadata-nested version/description
- Make owner.email and owner.url optional for flexibility
- Normalize data with sensible defaults ('0.0.0', 'No description available')
- Remove redundant metadata field after transformation
- Add documentation explaining dual format support
Also remove duplicate marketplace-sources.json from public directory,
consolidating to single source in server directory for API consumption.
995e4e0 to
dcfb9c5
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
New Marketplaces
Schema Improvements
version/descriptionfieldsowner.emailandowner.urloptional for community marketplacesFile Organization
apps/web/public/marketplace-sources.json(duplicate)apps/web/server/marketplace-sources.jsonTechnical Details
The schema now accepts two marketplace JSON formats:
Anthropic Style (root-level):
{ "version": "1.0.0", "description": "..." }Community Style (metadata-nested):
{ "metadata": { "version": "1.0.0", "description": "..." } }Both formats are transformed to a consistent structure with guaranteed non-null values.
Test Plan
/api/marketplaces